<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>商家管理</title> 
    <link href="__INDEX__/store/css/mui.min.css" rel="stylesheet"/>
	<link rel="stylesheet" href="__INDEX__/store/css/style.css" />
	<link rel="stylesheet" href="__INDEX__/store/css/newsj.css" /> 
</head>
<body class="sjindexcon">
	<div class="mui-content sjindexcon">
	    <div class="sjindex_top">
	    	<div class="sjtoux sjzx_memimg">
	    		{if $agent_info['logo'] == null}
	    		<img src="__INDEX__/store/images/member.jpg">
	    		{else /}
	    		<img id="agent_logo" src="{$agent_info['logo']}">
	    		{/if}
	    	</div>
	    	<div class="btbox"><div class="bt">{$agent_info['agent_name']}</div></div>
	    </div>
	    <ul class="sj_nav clearfix">
	    	<a href="{:url('/store/agent/score_record')}"><li class="glj"><?php  echo substr($agent_info['score'],0,strlen($agent_info['score'])-2);?></li></a>
	    	<a href="{:url('/store/agent/yue_record')}"><li class="yue"><?php  echo substr($agent_info['balance'],0,strlen($agent_info['balance'])-2);?></li></a>
	    </ul>
	    <ul class="mui-table-view mui-grid-view mui-grid-9 sj_nav2">
    		<li class="mui-table-view-cell mui-media">
				<a href="{:url('wallet/shop_payment')}">
					<span class="mui-icon"><img src="__INDEX__/store/images/icon_ewm.png"></span>
					<div class="mui-media-body">收款码</div>
				</a>
			</li>
			<li class="mui-table-view-cell mui-media">
				<a href="{:url('wallet/yun_pay')}">
					<span class="mui-icon"><img src="__INDEX__/store/images/icon_glj.png"></span>
					<div class="mui-media-body">鼓励金营销</div>
				</a>
			</li>
			<!--<li class="mui-table-view-cell mui-media">
				<a href="{:url('agent/hongb_list')}">
					<span class="mui-icon"><img src="__INDEX__/store/images/icon_hb.png"></span>
					<div class="mui-media-body">鼓励金红包</div>
				</a>
			</li>-->
			<li class="mui-table-view-cell mui-media">
				<a href="{:url('agent/employeemage')}" id="store_order">
					<span class="mui-icon"><img src="__INDEX__/store/images/icon_syy.png"></span>
					<div class="mui-media-body">员工管理</div>
				</a>
			</li>
			<!--<li class="mui-table-view-cell mui-media">
				<a href="{:url('agent/edit_dzq')}" id="store_score_pay">
					<span class="mui-icon"><img src="__INDEX__/store/images/icon_dzq.png"></span>
					<div class="mui-media-body">电子券设置</div>
				</a>
			</li>-->
			<li class="mui-table-view-cell mui-media">
				<a href="{:url('report/index',['type'=>1])}" id="union_list">
					<span class="mui-icon"><img src="__INDEX__/store/images/icon_bb.png"></span>
					<div class="mui-media-body">经营报表</div>
				</a>
			</li>  
			<li class="mui-table-view-cell mui-media">
				<a href="{:url('wallet/record')}" id="union_list">
					<span class="mui-icon"><img src="__INDEX__/store/images/icon_jl.png"></span>
					<div class="mui-media-body">收款记录</div>
				</a>
			</li> 
			<!--<li class="mui-table-view-cell mui-media">
				<a href="{:url('order/orders',['type'=>1])}" id="store_order">
					<span class="mui-icon iconfont icon-jilu"></span>
					<div class="mui-media-body">订单信息</div>
				</a>
			</li>-->
			<li class="mui-table-view-cell mui-media">
				<a href="{:url('agent/goods_list')}">
					<span class="mui-icon"><img src="__INDEX__/store/images/icon_jl.png"></span>
					<div class="mui-media-body">商品管理</div>
				</a>
			</li>
		</ul>    
	</div>
	
</body>
</html>
{include file="public/footer" /}
<script type="text/javascript">
	//商户信息
	$(".sjzx_memimg").click(function(){
		location.href="/store/agent/agent.html";
	});
	//余额
	$(".yue_record").click(function(){
		location.href="/store/agent/yue_record.html";
	});
	//鼓励金
	$(".score_record").click(function(){
		location.href="/store/agent/score_record.html";
	});		
	//订单
	$("#store_order").click(function(){
		location.href=APP.web_root+"shopwallet/orders.html";
	});
//	//联盟商圈
//	$("#union_list").click(function(){
//		location.href=APP.web_root+"shopwallet/alliance_fjlist.html";
//	});
	//连锁店
	$("#liansuod").click(function(){
		location.href=APP.web_root+"shopwallet/liansuod_edit.html";
	});
	
	//商家二维码收款
	$("#store_payment").click(function(){
		location.href="/store/wallet/shop_payment.html";
	});
	//商家收款记录
	$("#store_record").click(function(){
		location.href="/store/wallet/record.html";
	});
	//帮助中心
	$("#help").click(function(){
		location.href="../member/help.html?type=2";
	});
</script>
